package com.ngkj.zmfptback.sys.service.read;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ngkj.zmfptback.sys.bean.RoleEntity;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/21 creation
 **/
public interface RoleReadService {
    List<RoleEntity> getAllRole(RoleEntity roleEntity);

    IPage<RoleEntity> getPageRole(Page<RoleEntity> page, RoleEntity roleEntity);

    List<String> getAuthsById(Long id,String type);

    List<String> getMenuById(Long id);

    String getRoleIdByRoleCode(String roleCode);

}
